<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.List,java.util.Map;" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> 

      <div class="row-fluid">

        <div class="span6">

          <div class="panel" id="panel-24">
            <header>

              <i class="icon-bar-chart"></i>
              <span>全局设置</span>
              
            </header>
            <div class="content">

              <div class="accordion" id="accordion2">
                <div class="accordion-group">
                  <div class="accordion-heading">
                    <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
                     系统配置信息
                    </a>
                  </div>
                  <div id="collapseOne" class="accordion-body in collapse" style="height: auto; ">
                    <div class="accordion-inner">

                      <form class="form-horizontal" method="POST" action="<%=request.getContextPath()%>/c?s=setting&o=change&isajax=1">
                      <c:forEach items="${settings }" var="setting">
							  <div class="control-group">
							  	<label class="control-label" for="${setting.S_KEY }">${setting.S_KEY }</label>
							    <div class="controls">
							      <input type="text" name="${setting.S_KEY }" id="${setting.S_KEY }" value="${setting.S_VALUE }">
							    </div>
							  </div>
						</c:forEach>
							  <div class="control-group">
							    <div class="controls">
							      <button type="button" class="btn btn-primary btn-ajax-save" ><i class="icon-ok"></i> 修改配置</button>
							    </div>
							  </div>
							</form>

                    </div>
                  </div>
                </div>
                <div class="accordion-group">
                  <div class="accordion-heading">
                    <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
                      系统主题
                    </a>
                  </div>
                  <div id="collapseThree" class="accordion-body collapse" style="height: 0px; ">
                    <div class="accordion-inner">
                      <p><i class=" icon-info-sign"></i> 尚未发布新的主题</p>
                    </div>
                  </div>
                </div>
              </div>

            </div>
          </div>

		<%--
          <div class="panel" id="panel-13">
            <header>
              <i class="icon-th-large"></i>
              <span>个性设置</span>
            </header>
            <div class="content">
            
	            <div class="accordion" id="accordion-personal">
	                <div class="accordion-group">
	                  <div class="accordion-heading">
	                    <a class="accordion-toggle" data-toggle="collapse" 
	                    data-parent="#accordion-personal" href="#p-chgpwd">修改密码</a>
	                  </div>
	                  <div id="p-chgpwd" class="accordion-body in collapse" style="height: auto; ">
	                    <div class="accordion-inner">
							<form class="form-horizontal">
							  <div class="control-group">
							    <label class="control-label" for="oldpwd">旧密码</label>
							    <div class="controls">
							      <input type="password" name="oldpwd" id="oldpwd" placeholder="000000">
							    </div>
							  </div>
							  <div class="control-group">
							    <label class="control-label" for="newpwd">新密码</label>
							    <div class="controls">
							      <input type="password" name="newpwd" id="newpwd" placeholder="000000">
							    </div>
							  </div>
							  <div class="control-group">
							    <label class="control-label" for="cfmpwd">确认密码</label>
							    <div class="controls">
							      <input type="password" name="cfmpwd" id="cfmpwd" placeholder="000000">
							    </div>
							  </div>
							  <div class="control-group">
							    <div class="controls">
							      <button type="submit" class="btn">修改密码</button>
							    </div>
							  </div>
							</form>
	                    </div>
	                  </div>
	                  
	                  
	                </div>
		
	            	</div>
	        	</div>
        	</div>
        	--%>
		</div>
		
		
        <div class="span6">

          <div class="panel" id="panel-102">
            <header>
              <i class="icon-trophy"></i>
              <span>运行状态</span>
            </header>
            <div class="content tiles-container">
              
              <table id="table0" class="tablesorter" style="width:100%">
                <thead>
                  <tr>
                    <th class="header" width="50%">资源</th>
                    <th class="header" width="50%">消耗</th>
                  </tr>
                </thead>
                <tbody>  
                <tr class="even">
                    <td>操作系统</td>
                    <td>${monitor.osName}</td>
                  </tr>           
                  <tr class="odd">
                    <td>CPU</td>
                    <td>${monitor.cpuRatio }%</td>
                  </tr><tr class="even">
                    <td>已用内存/全部内存</td>
                    <td>${monitor.usedMemory}/${monitor.totalMemorySize}</td>
                  </tr><tr class="odd">
                    <td>线程总数</td>
                    <td>${monitor.totalThread }</td>
                  </tr>
                </tbody>
              </table>

            </div>
          </div>

          <div class="panel" id="panel-106">
            <header>
              <i class="icon-th-large"></i>
              <span>技术支持</span>
            </header>
            <div class="content">
				<p>您可以通过如下方式获取帮助：</p>
				<p>QQ:1794947912</p>
				<p>旺旺:yfsoftcom</p>
				<p>Email:yfsoftcom@126.com</p>
				<p>Mobile:13770683580</p>
            </div>
          </div>

        </div>
      </div>
